projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06488de
)
Fix a use of 'cl-defgeneric'.
author
Philipp Stephani
<phst@google.com>
Tue, 15 Mar 2022 23:10:08 +0000
(
00:10
+0100)
committer
Philipp Stephani
<phst@google.com>
Thu, 17 Mar 2022 11:58:52 +0000
(12:58 +0100)
* lisp/progmodes/xref.el (xref-match-length): Use 'cl-defmethod'
instead of 'cl-defgeneric'.
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index a5e6edf951da4ccfe16e410683e0a88b116413e2..5d1ba4eaf55f7487ebf3b193db31cc3699bcc698 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-227,7
+227,7
@@
This behavior is new in Emacs 28.")
"A match xref item describes a search result."
length)
-(cl-def
generic
xref-match-length ((item xref-match-item))
+(cl-def
method
xref-match-length ((item xref-match-item))
"Return the length of the match."
(xref-match-item-length item))